#ifndef __RELAY_CTRL_H
#define __RELAY_CTRL_H


#include "device.h"
#include "my_define.h"

typedef enum    //relay 开关状态
{
    RELAY_OFF,
    RELAY_ON,
}relay_state_e;

void relay_ctrl_init(void);
void set_relay_sw(relay_state_e sw);
relay_state_e  get_relay_sw(void);
void relay_ctrl_task(void);

#endif
